import Vue from 'vue'
import Router from 'vue-router'
import dataBaseIndex from '@/components/pages/database/database.vue'
import simpleSearchIndex from '@/components/pages/simpleSearch/simpleSearch.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/dataBase/:url',
      name: 'dataBaseIndex',
      component: dataBaseIndex
    },
    {
      path: '/simpleSearch/:url/:indice/:type',
      name: 'simpleSearchIndex',
      component: simpleSearchIndex
    }
  ]
})
